-- GENERATED SPELL FOR [Stanly McCormick] --


function spell0_30730(pUnit, Event) --@Chains of Ice,n/a--
pUnit:FullCastSpellOnTarget(512,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30730', 21300, 1)
end

function Sorts_30730(pUnit, Event)
local choix_sorts_30730 = math.random(0, 0)
if choix_sorts_30730 == 0 then
pUnit:RegisterEvent('spell0_30730', 1, 1)
end
end

function mob30730_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30730', math.random(1500, 3000), 1)
end

function mob30730_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30730_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30730_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30730, 1, 'mob30730_Action')
RegisterUnitEvent(30730, 2, 'mob30730_Leave')
RegisterUnitEvent(30730, 3, 'mob30730_Kill')
RegisterUnitEvent(30730, 4, 'mob30730_Die')
